import request from '@/utils/request'

export function getList(data: any) {
  return request({
    url: '/admin/zoneList',
    method: 'post',
    data,
  })
}

export function doAdd(data: any) {
  return request({
    url: '/admin/zoneAdd',
    method: 'post',
    data,
  })
}

export function doStatusChange(data: any) {
  return request({
    url: '/admin/zoneStatusChange',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/admin/zoneDel',
    method: 'post',
    data,
  })
}
